package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务订单对象 zsyh_service_order
 * 
 * @author yuexl
 * @date 2022-02-22
 */
public class ZsyhServiceOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 用户地址表id */
    @Excel(name = "用户地址表id")
    private String userAddressId;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String userAddress;

    /** 联系人 */
    @Excel(name = "联系人")
    private String userName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String userPhone;

    /** 故障类型（表 service_type Id） */
    @Excel(name = "故障类型", readConverterExp = "表=,s=ervice_type,I=d")
    private String serviceTypeId;

    /** 故障说明 */
    @Excel(name = "故障说明")
    private String faultComment;

    /** 预约单状态 0未接单 1已接单 2已检测 3未支付 4未评价 5已评价 6已取消 7系统自动取消 8已结束（检测后-用户不继续维修支付检测费，结束订单） */
    @Excel(name = "预约单状态 0未接单 1已接单 2已检测 3未支付 4未评价 5已评价 6已取消 7系统自动取消 8已结束", readConverterExp = "检=测后-用户不继续维修支付检测费，结束订单")
    private String orderState;

    /** 维修数量 */
    @Excel(name = "维修数量")
    private Long orderNumber;

    /** 取消订单备注 */
    @Excel(name = "取消订单备注")
    private String cancelRemark;

    /** 用户下单区域id */
    @Excel(name = "用户下单区域id")
    private String orderAreaId;

    /** 固定抽成的费用 */
    @Excel(name = "固定抽成的费用")
    private BigDecimal orderFixdraw;

    /** 接单店铺ID */
    @Excel(name = "接单店铺ID")
    private String repairStoreId;

    /** 上传图片 */
    @Excel(name = "上传图片")
    private String orderImage;

    /** 是否加急（1是0否） */
    @Excel(name = "是否加急", readConverterExp = "1=是0否")
    private String isPriority;

    /** 服务评分 */
    @Excel(name = "服务评分")
    private String orderEvaluateScore;

    /** 服务评价内容 */
    @Excel(name = "服务评价内容")
    private String orderEvaluateContent;

    /** 服务评价图片 */
    @Excel(name = "服务评价图片")
    private String orderEvaluateImage;

    //故障类型
    private String serviceName;
    //下单人联系方式
    private String orderUserPhone;
    //接单店铺名称
    private String repairStoreName;

    private String userNickname;

    private String userWximage;

    private String typeNameFirst;

    private String typeNameSecond;

    private String typeNameThird;

    private String typeImage;

    private String repairTime;

    private String repairContent;

    private String repairParts;

    private String warrantyDate;

    private String orderType;

    private String agentId;

    private String rakerId;

    private String orderFixdrawState;

    private String repairStorePerson;

    private String repairStorePhone;

    private String orderStateRaker;

    private String processingResults;

    private String afterProductTypeId;

    private String afterProductId;

    private String afterProductPaytime;

    private String afterProductCode;

    private String factoryId;

    private String factoryLoginId;

    private BigDecimal orderMoneyFactory;

    private BigDecimal orderMoneyRepair;

    private BigDecimal orderMoneyallFactory;

    private BigDecimal orderMoneyallRepair;

    private String cancelAuditPerson;

    private Date cancelAuditTime;

    private String cancelAuditReason;

    private String serviceTypeName;

    private String remoteFees;

    private String appointmentDate;

    private String productTypeName;

    private String productBrand;

    private String productModel;

    private String productAttribute;

    private String typeNameFirstFactory;

    private String typeNameSecondFactory;

    private String orderStateName;

    //是否有配件单
    private String isPartsOrder;
    //是否有费用单
    private String isApplyMoneyOrder;

    private List<ZsyhServiceOrderParts> partsList;

    private List<ZsyhServiceOrderApplymoney> applyMoneyList;

    private List<ZsyhServiceOrderLog> logList;

    private String orderTypeName;

    private Date receiptTime;//接单时间
    private Date appointmentTime;//预约时间
    private Date todoorTime;//上门时间
    private Date completeTime;//完工时间
    private Date settlementTime;//师傅申请结算时间
    private Date auditPlatformTime;//平台审核时间
    private Date auditFactoryTime;//厂家审核时间
    private Date paymentTime;//付款时间

    private String orderPartsNotEndNum;

    private BigDecimal orderFrozenMoney;

    private String orderRemarks;

    private String isSelfParts;//厂家是否允许使用自购件  1是 0否

    private String auditReasonRejection;

    //催单状态 0未催单 1已催单 2已处理
    private String orderReminderState;

    private String isMileageFee;//是申请过里程费 0未申请 1已申请

    private String orderReminderContent;

    private String loginName;
    private BigDecimal repairCheckMoney;
    private BigDecimal appendMoney;
    private String refuseRepair;
    private String refuseReason;

    private List<ZsyhServiceOrderSettlement> settlementList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserAddressId(String userAddressId) 
    {
        this.userAddressId = userAddressId;
    }

    public String getUserAddressId() 
    {
        return userAddressId;
    }
    public void setUserAddress(String userAddress) 
    {
        this.userAddress = userAddress;
    }

    public String getUserAddress() 
    {
        return userAddress;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setServiceTypeId(String serviceTypeId) 
    {
        this.serviceTypeId = serviceTypeId;
    }

    public String getServiceTypeId() 
    {
        return serviceTypeId;
    }
    public void setFaultComment(String faultComment) 
    {
        this.faultComment = faultComment;
    }

    public String getFaultComment() 
    {
        return faultComment;
    }
    public void setOrderState(String orderState) 
    {
        this.orderState = orderState;
    }

    public String getOrderState() 
    {
        return orderState;
    }

    public void setOrderNumber(Long orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public Long getOrderNumber() 
    {
        return orderNumber;
    }
    public void setCancelRemark(String cancelRemark) 
    {
        this.cancelRemark = cancelRemark;
    }

    public String getCancelRemark() 
    {
        return cancelRemark;
    }
    public void setOrderAreaId(String orderAreaId) 
    {
        this.orderAreaId = orderAreaId;
    }

    public String getOrderAreaId() 
    {
        return orderAreaId;
    }
    public void setOrderFixdraw(BigDecimal orderFixdraw) 
    {
        this.orderFixdraw = orderFixdraw;
    }

    public BigDecimal getOrderFixdraw() 
    {
        return orderFixdraw;
    }
    public void setRepairStoreId(String repairStoreId) 
    {
        this.repairStoreId = repairStoreId;
    }

    public String getRepairStoreId() 
    {
        return repairStoreId;
    }
    public void setOrderImage(String orderImage) 
    {
        this.orderImage = orderImage;
    }

    public String getOrderImage() 
    {
        return orderImage;
    }
    public void setIsPriority(String isPriority) 
    {
        this.isPriority = isPriority;
    }

    public String getIsPriority() 
    {
        return isPriority;
    }
    public void setOrderEvaluateScore(String orderEvaluateScore) 
    {
        this.orderEvaluateScore = orderEvaluateScore;
    }

    public String getOrderEvaluateScore() 
    {
        return orderEvaluateScore;
    }
    public void setOrderEvaluateContent(String orderEvaluateContent) 
    {
        this.orderEvaluateContent = orderEvaluateContent;
    }

    public String getOrderEvaluateContent() 
    {
        return orderEvaluateContent;
    }
    public void setOrderEvaluateImage(String orderEvaluateImage) 
    {
        this.orderEvaluateImage = orderEvaluateImage;
    }

    public String getOrderEvaluateImage() 
    {
        return orderEvaluateImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userAddressId", getUserAddressId())
            .append("userAddress", getUserAddress())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("serviceTypeId", getServiceTypeId())
            .append("faultComment", getFaultComment())
            .append("orderState", getOrderState())
            .append("orderNumber", getOrderNumber())
            .append("cancelRemark", getCancelRemark())
            .append("orderAreaId", getOrderAreaId())
            .append("orderFixdraw", getOrderFixdraw())
            .append("repairStoreId", getRepairStoreId())
            .append("orderImage", getOrderImage())
            .append("isPriority", getIsPriority())
            .append("orderEvaluateScore", getOrderEvaluateScore())
            .append("orderEvaluateContent", getOrderEvaluateContent())
            .append("orderEvaluateImage", getOrderEvaluateImage())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getOrderUserPhone() {
        return orderUserPhone;
    }

    public void setOrderUserPhone(String orderUserPhone) {
        this.orderUserPhone = orderUserPhone;
    }

    public String getRepairStoreName() {
        return repairStoreName;
    }

    public void setRepairStoreName(String repairStoreName) {
        this.repairStoreName = repairStoreName;
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname;
    }

    public String getUserWximage() {
        return userWximage;
    }

    public void setUserWximage(String userWximage) {
        this.userWximage = userWximage;
    }

    public String getTypeNameFirst() {
        return typeNameFirst;
    }

    public void setTypeNameFirst(String typeNameFirst) {
        this.typeNameFirst = typeNameFirst;
    }

    public String getTypeNameSecond() {
        return typeNameSecond;
    }

    public void setTypeNameSecond(String typeNameSecond) {
        this.typeNameSecond = typeNameSecond;
    }

    public String getTypeNameThird() {
        return typeNameThird;
    }

    public void setTypeNameThird(String typeNameThird) {
        this.typeNameThird = typeNameThird;
    }

    public String getTypeImage() {
        return typeImage;
    }

    public void setTypeImage(String typeImage) {
        this.typeImage = typeImage;
    }

    public String getRepairTime() {
        return repairTime;
    }

    public void setRepairTime(String repairTime) {
        this.repairTime = repairTime;
    }

    public String getRepairContent() {
        return repairContent;
    }

    public void setRepairContent(String repairContent) {
        this.repairContent = repairContent;
    }

    public String getRepairParts() {
        return repairParts;
    }

    public void setRepairParts(String repairParts) {
        this.repairParts = repairParts;
    }

    public String getWarrantyDate() {
        return warrantyDate;
    }

    public void setWarrantyDate(String warrantyDate) {
        this.warrantyDate = warrantyDate;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getRakerId() {
        return rakerId;
    }

    public void setRakerId(String rakerId) {
        this.rakerId = rakerId;
    }

    public String getOrderFixdrawState() {
        return orderFixdrawState;
    }

    public void setOrderFixdrawState(String orderFixdrawState) {
        this.orderFixdrawState = orderFixdrawState;
    }

    public String getRepairStorePerson() {
        return repairStorePerson;
    }

    public void setRepairStorePerson(String repairStorePerson) {
        this.repairStorePerson = repairStorePerson;
    }

    public String getRepairStorePhone() {
        return repairStorePhone;
    }

    public void setRepairStorePhone(String repairStorePhone) {
        this.repairStorePhone = repairStorePhone;
    }

    public String getOrderStateRaker() {
        return orderStateRaker;
    }

    public void setOrderStateRaker(String orderStateRaker) {
        this.orderStateRaker = orderStateRaker;
    }

    public String getProcessingResults() {
        return processingResults;
    }

    public void setProcessingResults(String processingResults) {
        this.processingResults = processingResults;
    }




    public String getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(String factoryId) {
        this.factoryId = factoryId;
    }

    public String getFactoryLoginId() {
        return factoryLoginId;
    }

    public void setFactoryLoginId(String factoryLoginId) {
        this.factoryLoginId = factoryLoginId;
    }

    public BigDecimal getOrderMoneyFactory() {
        return orderMoneyFactory;
    }

    public void setOrderMoneyFactory(BigDecimal orderMoneyFactory) {
        this.orderMoneyFactory = orderMoneyFactory;
    }

    public BigDecimal getOrderMoneyRepair() {
        return orderMoneyRepair;
    }

    public void setOrderMoneyRepair(BigDecimal orderMoneyRepair) {
        this.orderMoneyRepair = orderMoneyRepair;
    }

    public BigDecimal getOrderMoneyallFactory() {
        return orderMoneyallFactory;
    }

    public void setOrderMoneyallFactory(BigDecimal orderMoneyallFactory) {
        this.orderMoneyallFactory = orderMoneyallFactory;
    }

    public BigDecimal getOrderMoneyallRepair() {
        return orderMoneyallRepair;
    }

    public void setOrderMoneyallRepair(BigDecimal orderMoneyallRepair) {
        this.orderMoneyallRepair = orderMoneyallRepair;
    }

    public String getAfterProductTypeId() {
        return afterProductTypeId;
    }

    public void setAfterProductTypeId(String afterProductTypeId) {
        this.afterProductTypeId = afterProductTypeId;
    }

    public String getAfterProductId() {
        return afterProductId;
    }

    public void setAfterProductId(String afterProductId) {
        this.afterProductId = afterProductId;
    }

    public String getAfterProductPaytime() {
        return afterProductPaytime;
    }

    public void setAfterProductPaytime(String afterProductPaytime) {
        this.afterProductPaytime = afterProductPaytime;
    }

    public String getAfterProductCode() {
        return afterProductCode;
    }

    public void setAfterProductCode(String afterProductCode) {
        this.afterProductCode = afterProductCode;
    }

    public String getCancelAuditPerson() {
        return cancelAuditPerson;
    }

    public void setCancelAuditPerson(String cancelAuditPerson) {
        this.cancelAuditPerson = cancelAuditPerson;
    }

    public Date getCancelAuditTime() {
        return cancelAuditTime;
    }

    public void setCancelAuditTime(Date cancelAuditTime) {
        this.cancelAuditTime = cancelAuditTime;
    }

    public String getCancelAuditReason() {
        return cancelAuditReason;
    }

    public void setCancelAuditReason(String cancelAuditReason) {
        this.cancelAuditReason = cancelAuditReason;
    }

    public String getServiceTypeName() {
        return serviceTypeName;
    }

    public void setServiceTypeName(String serviceTypeName) {
        this.serviceTypeName = serviceTypeName;
    }

    public String getRemoteFees() {
        return remoteFees;
    }

    public void setRemoteFees(String remoteFees) {
        this.remoteFees = remoteFees;
    }

    public String getAppointmentDate() {
        return appointmentDate;
    }

    public void setAppointmentDate(String appointmentDate) {
        this.appointmentDate = appointmentDate;
    }

    public String getProductTypeName() {
        return productTypeName;
    }

    public void setProductTypeName(String productTypeName) {
        this.productTypeName = productTypeName;
    }

    public String getProductBrand() {
        return productBrand;
    }

    public void setProductBrand(String productBrand) {
        this.productBrand = productBrand;
    }

    public String getProductModel() {
        return productModel;
    }

    public void setProductModel(String productModel) {
        this.productModel = productModel;
    }

    public String getProductAttribute() {
        return productAttribute;
    }

    public void setProductAttribute(String productAttribute) {
        this.productAttribute = productAttribute;
    }

    public String getTypeNameFirstFactory() {
        return typeNameFirstFactory;
    }

    public void setTypeNameFirstFactory(String typeNameFirstFactory) {
        this.typeNameFirstFactory = typeNameFirstFactory;
    }

    public String getTypeNameSecondFactory() {
        return typeNameSecondFactory;
    }

    public void setTypeNameSecondFactory(String typeNameSecondFactory) {
        this.typeNameSecondFactory = typeNameSecondFactory;
    }

    public List<ZsyhServiceOrderParts> getPartsList() {
        return partsList;
    }

    public void setPartsList(List<ZsyhServiceOrderParts> partsList) {
        this.partsList = partsList;
    }

    public List<ZsyhServiceOrderApplymoney> getApplyMoneyList() {
        return applyMoneyList;
    }

    public void setApplyMoneyList(List<ZsyhServiceOrderApplymoney> applyMoneyList) {
        this.applyMoneyList = applyMoneyList;
    }

    public String getOrderStateName() {
        return orderStateName;
    }

    public void setOrderStateName(String orderStateName) {
        this.orderStateName = orderStateName;
    }

    public String getOrderTypeName() {
        return orderTypeName;
    }

    public void setOrderTypeName(String orderTypeName) {
        this.orderTypeName = orderTypeName;
    }

    public String getIsPartsOrder() {
        return isPartsOrder;
    }

    public void setIsPartsOrder(String isPartsOrder) {
        this.isPartsOrder = isPartsOrder;
    }

    public String getIsApplyMoneyOrder() {
        return isApplyMoneyOrder;
    }

    public void setIsApplyMoneyOrder(String isApplyMoneyOrder) {
        this.isApplyMoneyOrder = isApplyMoneyOrder;
    }

    public Date getReceiptTime() {
        return receiptTime;
    }

    public void setReceiptTime(Date receiptTime) {
        this.receiptTime = receiptTime;
    }

    public Date getAppointmentTime() {
        return appointmentTime;
    }

    public void setAppointmentTime(Date appointmentTime) {
        this.appointmentTime = appointmentTime;
    }

    public Date getTodoorTime() {
        return todoorTime;
    }

    public void setTodoorTime(Date todoorTime) {
        this.todoorTime = todoorTime;
    }

    public Date getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(Date completeTime) {
        this.completeTime = completeTime;
    }

    public Date getSettlementTime() {
        return settlementTime;
    }

    public void setSettlementTime(Date settlementTime) {
        this.settlementTime = settlementTime;
    }

    public Date getAuditPlatformTime() {
        return auditPlatformTime;
    }

    public void setAuditPlatformTime(Date auditPlatformTime) {
        this.auditPlatformTime = auditPlatformTime;
    }

    public Date getAuditFactoryTime() {
        return auditFactoryTime;
    }

    public void setAuditFactoryTime(Date auditFactoryTime) {
        this.auditFactoryTime = auditFactoryTime;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public List<ZsyhServiceOrderLog> getLogList() {
        return logList;
    }

    public void setLogList(List<ZsyhServiceOrderLog> logList) {
        this.logList = logList;
    }

    public String getOrderPartsNotEndNum() {
        return orderPartsNotEndNum;
    }

    public void setOrderPartsNotEndNum(String orderPartsNotEndNum) {
        this.orderPartsNotEndNum = orderPartsNotEndNum;
    }

    public BigDecimal getOrderFrozenMoney() {
        return orderFrozenMoney;
    }

    public void setOrderFrozenMoney(BigDecimal orderFrozenMoney) {
        this.orderFrozenMoney = orderFrozenMoney;
    }

    public String getOrderRemarks() {
        return orderRemarks;
    }

    public void setOrderRemarks(String orderRemarks) {
        this.orderRemarks = orderRemarks;
    }

    public List<ZsyhServiceOrderSettlement> getSettlementList() {
        return settlementList;
    }

    public void setSettlementList(List<ZsyhServiceOrderSettlement> settlementList) {
        this.settlementList = settlementList;
    }

    public String getIsSelfParts() {
        return isSelfParts;
    }

    public void setIsSelfParts(String isSelfParts) {
        this.isSelfParts = isSelfParts;
    }

    public String getAuditReasonRejection() {
        return auditReasonRejection;
    }

    public void setAuditReasonRejection(String auditReasonRejection) {
        this.auditReasonRejection = auditReasonRejection;
    }

    public String getOrderReminderState() {
        return orderReminderState;
    }

    public void setOrderReminderState(String orderReminderState) {
        this.orderReminderState = orderReminderState;
    }

    public String getIsMileageFee() {
        return isMileageFee;
    }

    public void setIsMileageFee(String isMileageFee) {
        this.isMileageFee = isMileageFee;
    }

    public String getOrderReminderContent() {
        return orderReminderContent;
    }

    public void setOrderReminderContent(String orderReminderContent) {
        this.orderReminderContent = orderReminderContent;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public BigDecimal getRepairCheckMoney() {
        return repairCheckMoney;
    }

    public void setRepairCheckMoney(BigDecimal repairCheckMoney) {
        this.repairCheckMoney = repairCheckMoney;
    }

    public BigDecimal getAppendMoney() {
        return appendMoney;
    }

    public void setAppendMoney(BigDecimal appendMoney) {
        this.appendMoney = appendMoney;
    }

    public String getRefuseRepair() {
        return refuseRepair;
    }

    public void setRefuseRepair(String refuseRepair) {
        this.refuseRepair = refuseRepair;
    }

    public String getRefuseReason() {
        return refuseReason;
    }

    public void setRefuseReason(String refuseReason) {
        this.refuseReason = refuseReason;
    }
}
